﻿using System;
using System.ComponentModel.Composition;
using System.Windows.Controls;
using System.Windows.Interactivity;
using Behaviour.Selection;
using DiagramDesigner.Common.Controls;
using DiagramDesigner.Common.Interfaces;

namespace Behavior.Selection
{
    //[Export(typeof(IBehaviorPlugin))]
    public class SelectionBehaviorPlugin : IBehaviorPlugin
    {
        public string PluginName
        {
            get { return "Selection Behavior Plugin"; }
        }

        public string ToolboxTitle
        {
            get { return "Select"; }
        }

        public Behavior<DesignerItem> GetBehaviour()
        {
            return new SelectionBehavior();
        }

        public bool AutoAttachOnDrop { get { return true; } }
        public bool ShowInToobox { get { return false; } }
        public Image Icon { get { return null; } }
        public Type BehaviorType { get { return typeof(SelectionBehavior); } }


    }
}
